package com.hengxinguotong.zhihuichengjian.bean;

import java.io.Serializable;

/**
 * @CopyRight 恒信国通信息科技
 * @Author WuLei
 * @Date 2019/3/16
 *
 * 环境喷淋
 */

public class EnvironmentSpray implements Serializable {
    private String id
            ,//	id
            name
            ,//	姓名
            number
            ,//	编号
            status
                    ;//	喷淋开关状态 空字符串 或 0000 关； 1111 开
    private int sprayStatus
            ;//	喷淋状态:0手动,1自动
    private boolean isChecked = false;//是否是选中状态

    @Override
    public boolean equals(Object o) {
        EnvironmentSpray spray = (EnvironmentSpray) o;
        if (this.id.equals(spray.getId())) {
            return true;
        }
        return false;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public int getSprayStatus() {
        return sprayStatus;
    }

    public void setSprayStatus(int sprayStatus) {
        this.sprayStatus = sprayStatus;
    }

    public boolean isChecked() {
        return isChecked;
    }

    public void setChecked(boolean checked) {
        isChecked = checked;
    }
}
